package com.niiwoo.civet.trade.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProjectDeliveryChannelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProjectDeliveryChannelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andChannelCodeIsNull() {
            addCriterion("channel_code is null");
            return (Criteria) this;
        }

        public Criteria andChannelCodeIsNotNull() {
            addCriterion("channel_code is not null");
            return (Criteria) this;
        }

        public Criteria andChannelCodeEqualTo(String value) {
            addCriterion("channel_code =", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotEqualTo(String value) {
            addCriterion("channel_code <>", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeGreaterThan(String value) {
            addCriterion("channel_code >", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeGreaterThanOrEqualTo(String value) {
            addCriterion("channel_code >=", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeLessThan(String value) {
            addCriterion("channel_code <", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeLessThanOrEqualTo(String value) {
            addCriterion("channel_code <=", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeLike(String value) {
            addCriterion("channel_code like", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotLike(String value) {
            addCriterion("channel_code not like", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeIn(List<String> values) {
            addCriterion("channel_code in", values, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotIn(List<String> values) {
            addCriterion("channel_code not in", values, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeBetween(String value1, String value2) {
            addCriterion("channel_code between", value1, value2, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotBetween(String value1, String value2) {
            addCriterion("channel_code not between", value1, value2, "channelCode");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountIsNull() {
            addCriterion("daily_max_amount is null");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountIsNotNull() {
            addCriterion("daily_max_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountEqualTo(BigDecimal value) {
            addCriterion("daily_max_amount =", value, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountNotEqualTo(BigDecimal value) {
            addCriterion("daily_max_amount <>", value, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountGreaterThan(BigDecimal value) {
            addCriterion("daily_max_amount >", value, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_max_amount >=", value, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountLessThan(BigDecimal value) {
            addCriterion("daily_max_amount <", value, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_max_amount <=", value, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountIn(List<BigDecimal> values) {
            addCriterion("daily_max_amount in", values, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountNotIn(List<BigDecimal> values) {
            addCriterion("daily_max_amount not in", values, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_max_amount between", value1, value2, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andDailyMaxAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_max_amount not between", value1, value2, "dailyMaxAmount");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNull() {
            addCriterion("priority is null");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNotNull() {
            addCriterion("priority is not null");
            return (Criteria) this;
        }

        public Criteria andPriorityEqualTo(Byte value) {
            addCriterion("priority =", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotEqualTo(Byte value) {
            addCriterion("priority <>", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThan(Byte value) {
            addCriterion("priority >", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThanOrEqualTo(Byte value) {
            addCriterion("priority >=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThan(Byte value) {
            addCriterion("priority <", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThanOrEqualTo(Byte value) {
            addCriterion("priority <=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityIn(List<Byte> values) {
            addCriterion("priority in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotIn(List<Byte> values) {
            addCriterion("priority not in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityBetween(Byte value1, Byte value2) {
            addCriterion("priority between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotBetween(Byte value1, Byte value2) {
            addCriterion("priority not between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Byte value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Byte value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Byte value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Byte value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Byte value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Byte value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Byte> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Byte> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Byte value1, Byte value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Byte value1, Byte value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagIsNull() {
            addCriterion("is_dele_flag is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagIsNotNull() {
            addCriterion("is_dele_flag is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagEqualTo(Byte value) {
            addCriterion("is_dele_flag =", value, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagNotEqualTo(Byte value) {
            addCriterion("is_dele_flag <>", value, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagGreaterThan(Byte value) {
            addCriterion("is_dele_flag >", value, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_dele_flag >=", value, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagLessThan(Byte value) {
            addCriterion("is_dele_flag <", value, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagLessThanOrEqualTo(Byte value) {
            addCriterion("is_dele_flag <=", value, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagIn(List<Byte> values) {
            addCriterion("is_dele_flag in", values, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagNotIn(List<Byte> values) {
            addCriterion("is_dele_flag not in", values, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagBetween(Byte value1, Byte value2) {
            addCriterion("is_dele_flag between", value1, value2, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andIsDeleFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("is_dele_flag not between", value1, value2, "isDeleFlag");
            return (Criteria) this;
        }

        public Criteria andOpenDateIsNull() {
            addCriterion("open_date is null");
            return (Criteria) this;
        }

        public Criteria andOpenDateIsNotNull() {
            addCriterion("open_date is not null");
            return (Criteria) this;
        }

        public Criteria andOpenDateEqualTo(Date value) {
            addCriterion("open_date =", value, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateNotEqualTo(Date value) {
            addCriterion("open_date <>", value, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateGreaterThan(Date value) {
            addCriterion("open_date >", value, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateGreaterThanOrEqualTo(Date value) {
            addCriterion("open_date >=", value, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateLessThan(Date value) {
            addCriterion("open_date <", value, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateLessThanOrEqualTo(Date value) {
            addCriterion("open_date <=", value, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateIn(List<Date> values) {
            addCriterion("open_date in", values, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateNotIn(List<Date> values) {
            addCriterion("open_date not in", values, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateBetween(Date value1, Date value2) {
            addCriterion("open_date between", value1, value2, "openDate");
            return (Criteria) this;
        }

        public Criteria andOpenDateNotBetween(Date value1, Date value2) {
            addCriterion("open_date not between", value1, value2, "openDate");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNull() {
            addCriterion("begin_time is null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNotNull() {
            addCriterion("begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeEqualTo(String value) {
            addCriterion("begin_time =", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotEqualTo(String value) {
            addCriterion("begin_time <>", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThan(String value) {
            addCriterion("begin_time >", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThanOrEqualTo(String value) {
            addCriterion("begin_time >=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThan(String value) {
            addCriterion("begin_time <", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThanOrEqualTo(String value) {
            addCriterion("begin_time <=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLike(String value) {
            addCriterion("begin_time like", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotLike(String value) {
            addCriterion("begin_time not like", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIn(List<String> values) {
            addCriterion("begin_time in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotIn(List<String> values) {
            addCriterion("begin_time not in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeBetween(String value1, String value2) {
            addCriterion("begin_time between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotBetween(String value1, String value2) {
            addCriterion("begin_time not between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(String value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(String value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(String value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(String value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(String value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLike(String value) {
            addCriterion("end_time like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotLike(String value) {
            addCriterion("end_time not like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<String> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<String> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(String value1, String value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(String value1, String value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andDurationUnitIsNull() {
            addCriterion("duration_unit is null");
            return (Criteria) this;
        }

        public Criteria andDurationUnitIsNotNull() {
            addCriterion("duration_unit is not null");
            return (Criteria) this;
        }

        public Criteria andDurationUnitEqualTo(Byte value) {
            addCriterion("duration_unit =", value, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitNotEqualTo(Byte value) {
            addCriterion("duration_unit <>", value, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitGreaterThan(Byte value) {
            addCriterion("duration_unit >", value, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitGreaterThanOrEqualTo(Byte value) {
            addCriterion("duration_unit >=", value, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitLessThan(Byte value) {
            addCriterion("duration_unit <", value, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitLessThanOrEqualTo(Byte value) {
            addCriterion("duration_unit <=", value, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitIn(List<Byte> values) {
            addCriterion("duration_unit in", values, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitNotIn(List<Byte> values) {
            addCriterion("duration_unit not in", values, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitBetween(Byte value1, Byte value2) {
            addCriterion("duration_unit between", value1, value2, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationUnitNotBetween(Byte value1, Byte value2) {
            addCriterion("duration_unit not between", value1, value2, "durationUnit");
            return (Criteria) this;
        }

        public Criteria andDurationIsNull() {
            addCriterion("duration is null");
            return (Criteria) this;
        }

        public Criteria andDurationIsNotNull() {
            addCriterion("duration is not null");
            return (Criteria) this;
        }

        public Criteria andDurationEqualTo(Byte value) {
            addCriterion("duration =", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotEqualTo(Byte value) {
            addCriterion("duration <>", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThan(Byte value) {
            addCriterion("duration >", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThanOrEqualTo(Byte value) {
            addCriterion("duration >=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThan(Byte value) {
            addCriterion("duration <", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThanOrEqualTo(Byte value) {
            addCriterion("duration <=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationIn(List<Byte> values) {
            addCriterion("duration in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotIn(List<Byte> values) {
            addCriterion("duration not in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationBetween(Byte value1, Byte value2) {
            addCriterion("duration between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotBetween(Byte value1, Byte value2) {
            addCriterion("duration not between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andWhiteListIsNull() {
            addCriterion("white_list is null");
            return (Criteria) this;
        }

        public Criteria andWhiteListIsNotNull() {
            addCriterion("white_list is not null");
            return (Criteria) this;
        }

        public Criteria andWhiteListEqualTo(String value) {
            addCriterion("white_list =", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListNotEqualTo(String value) {
            addCriterion("white_list <>", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListGreaterThan(String value) {
            addCriterion("white_list >", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListGreaterThanOrEqualTo(String value) {
            addCriterion("white_list >=", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListLessThan(String value) {
            addCriterion("white_list <", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListLessThanOrEqualTo(String value) {
            addCriterion("white_list <=", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListLike(String value) {
            addCriterion("white_list like", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListNotLike(String value) {
            addCriterion("white_list not like", value, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListIn(List<String> values) {
            addCriterion("white_list in", values, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListNotIn(List<String> values) {
            addCriterion("white_list not in", values, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListBetween(String value1, String value2) {
            addCriterion("white_list between", value1, value2, "whiteList");
            return (Criteria) this;
        }

        public Criteria andWhiteListNotBetween(String value1, String value2) {
            addCriterion("white_list not between", value1, value2, "whiteList");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioIsNull() {
            addCriterion("rebates_ratio is null");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioIsNotNull() {
            addCriterion("rebates_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioEqualTo(BigDecimal value) {
            addCriterion("rebates_ratio =", value, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioNotEqualTo(BigDecimal value) {
            addCriterion("rebates_ratio <>", value, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioGreaterThan(BigDecimal value) {
            addCriterion("rebates_ratio >", value, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rebates_ratio >=", value, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioLessThan(BigDecimal value) {
            addCriterion("rebates_ratio <", value, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rebates_ratio <=", value, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioIn(List<BigDecimal> values) {
            addCriterion("rebates_ratio in", values, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioNotIn(List<BigDecimal> values) {
            addCriterion("rebates_ratio not in", values, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rebates_ratio between", value1, value2, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andRebatesRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rebates_ratio not between", value1, value2, "rebatesRatio");
            return (Criteria) this;
        }

        public Criteria andFromSourceIsNull() {
            addCriterion("from_source is null");
            return (Criteria) this;
        }

        public Criteria andFromSourceIsNotNull() {
            addCriterion("from_source is not null");
            return (Criteria) this;
        }

        public Criteria andFromSourceEqualTo(String value) {
            addCriterion("from_source =", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceNotEqualTo(String value) {
            addCriterion("from_source <>", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceGreaterThan(String value) {
            addCriterion("from_source >", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceGreaterThanOrEqualTo(String value) {
            addCriterion("from_source >=", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceLessThan(String value) {
            addCriterion("from_source <", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceLessThanOrEqualTo(String value) {
            addCriterion("from_source <=", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceLike(String value) {
            addCriterion("from_source like", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceNotLike(String value) {
            addCriterion("from_source not like", value, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceIn(List<String> values) {
            addCriterion("from_source in", values, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceNotIn(List<String> values) {
            addCriterion("from_source not in", values, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceBetween(String value1, String value2) {
            addCriterion("from_source between", value1, value2, "fromSource");
            return (Criteria) this;
        }

        public Criteria andFromSourceNotBetween(String value1, String value2) {
            addCriterion("from_source not between", value1, value2, "fromSource");
            return (Criteria) this;
        }

        public Criteria andCreateManagerIsNull() {
            addCriterion("create_manager is null");
            return (Criteria) this;
        }

        public Criteria andCreateManagerIsNotNull() {
            addCriterion("create_manager is not null");
            return (Criteria) this;
        }

        public Criteria andCreateManagerEqualTo(Long value) {
            addCriterion("create_manager =", value, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerNotEqualTo(Long value) {
            addCriterion("create_manager <>", value, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerGreaterThan(Long value) {
            addCriterion("create_manager >", value, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerGreaterThanOrEqualTo(Long value) {
            addCriterion("create_manager >=", value, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerLessThan(Long value) {
            addCriterion("create_manager <", value, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerLessThanOrEqualTo(Long value) {
            addCriterion("create_manager <=", value, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerIn(List<Long> values) {
            addCriterion("create_manager in", values, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerNotIn(List<Long> values) {
            addCriterion("create_manager not in", values, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerBetween(Long value1, Long value2) {
            addCriterion("create_manager between", value1, value2, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateManagerNotBetween(Long value1, Long value2) {
            addCriterion("create_manager not between", value1, value2, "createManager");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerIsNull() {
            addCriterion("update_manager is null");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerIsNotNull() {
            addCriterion("update_manager is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerEqualTo(Long value) {
            addCriterion("update_manager =", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerNotEqualTo(Long value) {
            addCriterion("update_manager <>", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerGreaterThan(Long value) {
            addCriterion("update_manager >", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerGreaterThanOrEqualTo(Long value) {
            addCriterion("update_manager >=", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerLessThan(Long value) {
            addCriterion("update_manager <", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerLessThanOrEqualTo(Long value) {
            addCriterion("update_manager <=", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerIn(List<Long> values) {
            addCriterion("update_manager in", values, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerNotIn(List<Long> values) {
            addCriterion("update_manager not in", values, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerBetween(Long value1, Long value2) {
            addCriterion("update_manager between", value1, value2, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerNotBetween(Long value1, Long value2) {
            addCriterion("update_manager not between", value1, value2, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}